<html xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.thymeleaf.org/extras/spring-security">
<a href="#" class="logo">
    <!-- 迷你模式下Logo的大小为50X50 -->
    <span class="logo-mini">FAST</span>
    <!-- 普通模式下Logo -->
    <span class="logo-lg"><b>濮阳</b>家政</span>
</a>
<!-- 顶部通栏样式 -->
<nav class="navbar navbar-static-top">
    <!-- 边栏切换按钮-->
    <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
        <span class="sr-only">Toggle navigation</span>
    </a>

    <div id="nav" class="pull-left">
        <!--如果不想在顶部显示角标,则给ul加上disable-top-badge类即可-->
        <ul class="nav nav-tabs nav-addtabs disable-top-badge" role="tablist">
        </ul>
    </div>

    <div class="navbar-custom-menu">
        <ul class="nav navbar-nav">
            <li>
                <a href="javascript:void(0)"><i class="fa fa-home" style="font-size:14px;"></i></a>
            </li>
            <li class="dropdown notifications-menu">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                    <i class="fa fa-bell-o"></i>
                    <span class="label label-warning"></span>
                </a>
                <ul class="dropdown-menu">
                    <li class="header">最新公告</li>
                    <li>
                        <ul class="menu">
                        </ul>
                    </li>
                    <li class="footer"><a href="#" target="_blank">View all</a></li>
                </ul>
            </li>

        <!--    <li class="dropdown messages-menu github-commits">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                    <i class="fa fa-github"></i>
                    <span class="label label-info"></span>
                </a>
                <ul class="dropdown-menu">
                    <li class="header">Recent commits</li>
                    <li>
                        <ul class="menu">

                        </ul>
                    </li>
                    <li class="footer"><a href="#" target="_blank">View all</a></li>
                </ul>
            </li>-->

          <!--  <li>
                <a href="javascript:;" data-toggle="wipecache" title="清空缓存">
                    <i class="fa fa-trash"></i>
                </a>
            </li>-->

            <li class="hidden-xs">
                <a href="javascript:;" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-language"></i></a>
                <ul class="dropdown-menu">
                    <li class="active">
                        <a href="?ref=addtabs&lang=zh-cn">简体中文</a>
                    </li>
                    <li class="">
                        <a href="?ref=addtabs&lang=en">English</a>
                    </li>
                </ul>
            </li>

            <li class="hidden-xs">
                <a href="#" data-toggle="fullscreen"><i class="fa fa-arrows-alt"></i></a>
            </li>

            <!-- 账号信息下拉框 -->
            <li class="dropdown user user-menu">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                    <img th:src="${DB_USER.avatar}" class="user-image" alt="Admin" >
                    <span class="hidden-xs" sec:authentication="principal.username">Admin</span>
                </a>
                <ul class="dropdown-menu">
                    <!-- User image -->
                    <li class="user-header">
                        <img th:src="${DB_USER.avatar}" class="img-circle" alt="">

                        <p>
                            <span th:text="${DB_USER.nickname}"></span>
                            <small th:text="${#dates.format(#dates.createNow(),'yyyy-MM-dd')}"></small>
                        </p>
                    </li>
                    <!-- Menu Body -->
                    <li class="user-body" style="display: none">
                        <div class="row">
                            <div class="col-xs-4 text-center">
                                <a href="http://www.fastadmin.net" target="_blank">官网</a>
                            </div>
                            <div class="col-xs-4 text-center">
                                <a href="http://forum.fastadmin.net" target="_blank">论坛</a>
                            </div>
                            <div class="col-xs-4 text-center">
                                <a href="http://doc.fastadmin.net" target="_blank">文档</a>
                            </div>
                        </div>
                    </li>
                    <!-- Menu Footer-->
                    <li class="user-footer">
                        <div class="pull-left">
                            <a href="/api/profile/index" class="btn btn-default btn-flat addtabsit">个人资料</a>
                        </div>
                        <div class="pull-right">
                            <a href="/logout" class="btn btn-default btn-flat">注销</a>
                        </div>
                    </li>
                </ul>
            </li>
            <!-- 控制栏切换按钮 -->
            <li>
                <a href="javascript:;" data-toggle="control-sidebar"><i class="fa fa-gears"></i></a>
            </li>
        </ul>
    </div>
</nav>
</html>
